package com.yunchang.springboot.models.DO.finance;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunchang.springboot.base.Column;
import com.yunchang.springboot.base.Id;
import com.yunchang.springboot.base.Table;
import java.io.Serializable;
import lombok.Data;

/**
 * finance_subject
 * @author 1
 * @date 2020-04-21 16:05:02
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Table("finance_subject")
public class FinanceSubject implements Serializable {
    /**
     */
    @Id("id")
    private Integer id;

    /**
     * 父科目id
     */
    @Column("parent_id")
    private Integer parentId;

    /**
     * 科目名
     */
    @Column("subject")
    private String subject;

    /**
     * 父科目名
     */
    private String pSubject;

    /**
     * 备注
     */
    @Column("remark")
    private String remark;

    private static final long serialVersionUID = 1L;
}